<script setup>
import { provide, ref } from 'vue';
import Father from './09-provide-inject-Father.vue';
const count = ref(0);
provide('count', count);
const setCount = num => {
  count.value += num;
};
provide('setCount', setCount);
</script>

<template>
  <div>我是GFther</div>
  <div>count: {{ count }}</div>
  <hr />
  <Father />
</template>
